#define _CRT_SECURE_NO_WARNINGS 1
int get_days_of_the_month(int x, int y)
{
	int day = 0;
	int days1[] = { 31,28,31,30,31,30,31,31,30,31,30,31 };
	int days2[] = { 31,29,31,30,31,30,31,31,30,31,30,31 };
	if (((x % 4 == 0) && (x % 100 != 0)) || (x % 400 == 0))
		day = days2[y - 1];
	else
		day = days1[y - 1];
	return day;
}